package com.ticket.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ticket.entity.TicketOrder;
import com.ticket.vo.CreateOrderVO;

public interface ITicketOrderService extends IService<TicketOrder> {
    Long createOrder(Long userId, CreateOrderVO orderVO);
    boolean payOrder(Long userId, Long orderId);
    boolean cancelOrder(Long userId, Long orderId);
    Page<TicketOrder> getUserOrders(Long userId, int page, int size, String status);
    Integer allocateSeatNumber(Long matchId, Long sectionId);
    boolean refundOrder(Long userId, Long orderId);
} 